package net.maku.qdd.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 商品
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */

@Data
@TableName("goods")
public class GoodsEntity {
	/**
	* 商品id
	*/
	@TableId
	@TableField(value = "goods_id")
	private Integer goodsId;

	/**
	* 商家id
	*/
	@TableField(value = "merchant_id")
	private Integer merchantId;

	/**
	* 商品名称
	*/
	@TableField(value = "goods_name")
	private String goodsName;

	/**
	* 商品剩余数量
	*/
	@TableField(value = "goods_num")
	private Integer goodsNum;

	/**
	* 商品价格
	*/
	@TableField(value = "goods_price")
	private Integer goodsPrice;

}